/**
 * Normal
 */

// import { Car } from './car.normal';

// const car = new Car('Benz', 10, 2, 3, 5);
// car.run();
// car.onAccident();

/**
 * Ioc
 */
import { Car } from './car.di';
import { AirBags, Engine } from './dependencies';
const engin = new Engine(8, 3000);
const artBags = new AirBags(4, 30);

const car = new Car('Benz', engin, artBags);
car.run();
car.onAccident();
